package com.study.goal.service;


import com.study.common.core.domain.PageQuery;
import com.study.common.core.page.TableDataInfo;
import com.study.goal.domain.bo.IntegralExchangeItemBo;
import com.study.goal.domain.vo.IntegralExchangeItemVo;

import java.util.Collection;
import java.util.List;

/**
 * 积分兑换Service接口
 *
 * @author MT
 * @date 2025-09-03
 */
public interface IIntegralExchangeItemService {

    /**
     * 查询积分兑换
     */
    IntegralExchangeItemVo queryById(Long id);

    /**
     * 查询积分兑换列表
     */
    TableDataInfo<IntegralExchangeItemVo> queryPageList(IntegralExchangeItemBo bo, PageQuery pageQuery);

    /**
     * 查询积分兑换列表
     */
    List<IntegralExchangeItemVo> queryList(IntegralExchangeItemBo bo);

    /**
     * 新增积分兑换
     */
    Boolean insertByBo(IntegralExchangeItemBo bo);

    /**
     * 修改积分兑换
     */
    Boolean updateByBo(IntegralExchangeItemBo bo);

    /**
     * 校验并批量删除积分兑换信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
